Skip to content

Fix error struct object has no attribute args#12

Open
eps-id wants to merge 6 commits intoeerimoq:masterfrom
eps-id:fix_error_Struct_object_has_no_attribute_args
Open

Fix error struct object has no attribute args#12
eps-id wants to merge 6 commits intoeerimoq:masterfrom
eps-id:fix_error_Struct_object_has_no_attribute_args

Conversation

@eps-id
Copy link
Contributor

@eps-id eps-id commented Oct 26, 2025

This PR fixes one error intoducd by my first PR and provides a workaround to solve some of the failing test.
The proplem was caused by gnu extensions, that now are avoided by setting '-std=c17' compile flag.
Especially __typeof__ and __int128 cause problems with pycparser.

The current version still fails som test for mocking usleep, fileno and the FOO macro on my machine, but I have actual no clue why. So far the problem seems independent from my patches and may be a side effect of the used gcc-15.2 on my machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant